package com.booking.springrestful.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.booking.springrestful.domain.Appointments;
import com.booking.springrestful.domain.Counselors;
import com.booking.springrestful.domain.Userassessments;
import com.booking.springrestful.domain.dto.AppointmentsDto;
import com.booking.springrestful.domain.dto.BookingDto;
import com.booking.springrestful.domain.dto.GetCouByUserIdDto;
import com.booking.springrestful.domain.vo.*;
import com.booking.springrestful.resp.PageResult;

import java.util.List;

/**
* @author 13182
* @description 针对表【appointments(来访者的预约表)】的数据库操作Service
* @createDate 2024-11-05 20:39:54
*/
public interface AppointmentsService extends IService<Appointments> {

    void appointment(AppointmentsDto appointments);

    List<List<AppointmentVo>> listCou(Counselors counselors);

    PageResult<AppointmentRecordVo> getByUserId(GetCouByUserIdDto userid);

    void cancel(AppointmentRecordVo appointmentRecordVo);

    void complete(AppointmentRecordVo appointmentRecordVo);

    PageResult<AppointmentRecordVo> getCouByUserId(GetCouByUserIdDto userid);

    Userassessments getAssess(Integer id);

    PageResult<BookingVo> getBooking(BookingDto bookingDto);

    List<BookingTimesVo> bookingTimes();

    List<RatingVo> rating();

    Boolean getAllRecord(Integer userid);
}
